home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c++-part1 / 4731 < prev    next >
Encoding:
Internet Message Format  |  1996-08-06  |  1.0 KB

  1. Path: news.uh.edu!usenet
  2. From: Sensarn <txs53132@bayou.uh.edu>
  3. Newsgroups: comp.lang.c++
  4. Subject: Re: Need help printing graphics--Borland 3.0
  5. Date: 31 Jan 1996 20:37:20 GMT
  6. Organization: AEtna Insurance Agency
  7. Message-ID: <4eoju0$gc2@masala.cc.uh.edu>
  8. References: <futi.34.00315776@azstarnet.com>
  9. NNTP-Posting-Host: sip-14284.public-dialups.uh.edu
  10. Mime-Version: 1.0
  11. Content-Type: text/plain; charset=us-ascii
  12. Content-Transfer-Encoding: 7bit
  13. X-Mailer: Mozilla 1.1 (Windows; U; 16bit)
  14.  
  15. futi@azstarnet.com (John B. Farmer) wrote:
  16. >I have a lovely little program that draws the Sierpinski Gasket in the graphics mode
  17. >(using Borland C++, v. 3.0).  I would like to print the output, but can't 
  18. >figure out how.  I've tried file redirection like in UNIX (using the '>' 
  19. >operator from the command line).  I tried the 'print screen' key.  I don't 
  20. >really know what else to try.  Any help would be appreciated!
  21. Try this:
  22.  
  23. asm {
  24.     int 0x5
  25. }
  26.  
  27. You must also run GRAPHICS.EXE from DOS (it might be GRAPHICS.COM -- I 
  28. can't remember).
  29.  
  30. Steven Sensarn - txs53132@bayou.uh.edu
  31.  
  32.